home *** CD-ROM | disk | FTP | other *** search
- # Copyright © 1996 by Apple Computer, Inc. All rights reserved.
- # WideLib.Make
- #
- #FILE
- # WideLib.Make
- #
- #NAME
- # Int64Lib
- #
- #DESCRIPTION
- #
- # This file includes the Make instructions to build
- # the Wide shared code library
- #
- # Supports both MPW 3.3.x (MPW C and PPCC) and MPW 3.4.x (SC and MrC)
- # For MPW 3.3.x, must use pre-Universal CIncludes
- # (Universal Headers 2.0 has a conflict between Types.h and SANE.h)
- #
- #MODIFICATION HISTORY
- # Created by Terry Teague
- #
- # 18 Jul 96 - TRT - Initial version (created initially by CreateMake tool)
- # 28 Jul 96 - TRT - Modified to use new naming conventions
- #
- #################################################################################################
-
- MAKEFILE = WideLib.make
- •MondoBuild• = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
-
- Includes = {Shared.Includes}
- Sources = :Sources:
-
- Sym•PPC =
- ObjDir•PPC = :Objects:
- Sym•68K =
- ObjDir•68K = :Objects:
-
- PPCCOptions = -i "{Includes}" {Sym•PPC} -d PPCC=1
-
- COptions = -i "{Includes}" {Sym•68K} -d MPWC=1
-
- Objects•PPC = ∂
- "{ObjDir•PPC}Wide.c.x"
-
- Objects•68K = ∂
- "{ObjDir•68K}Wide.a.o" ∂
- "{ObjDir•68K}Wide.c.o"
-
-
- # targets to be overriden by SCMBuild script
- Wide68K = Wide.lib
- WidePPC = Wide.xcoff
-
- # pseudo targets
- WideLib ƒ {•MondoBuild•} {Wide68K} {WidePPC}
-
- Wide.PPC.xcoff ƒ {•MondoBuild•} Wide.xcoff
-
- Wide.PPC.xcoff.MrC ƒ {•MondoBuild•} Wide.xcoff
-
- Wide.68K.lib ƒ {•MondoBuild•} Wide.lib
-
- Wide.68K.lib.SC ƒ {•MondoBuild•} Wide.lib
-
- # real targets
- Wide.xcoff ƒ {•MondoBuild•} {Objects•PPC}
- PPCLink ∂
- -o {WidePPC} {Sym•PPC} ∂
- {Objects•PPC} ∂
- -xm library ∂
- -t 'XCOF' ∂
- -c 'MPS '
-
-
- Wide.lib ƒ {•MondoBuild•} {Objects•68K}
- Lib ∂
- -o {Wide68K} {Sym•68K} ∂
- {Objects•68K}
-
-
- "{ObjDir•PPC}Wide.c.x" ƒ {•MondoBuild•} {Sources}Wide.c ∂
- {Includes}Wide.h
- If "{MPWVersion}" !~ /3.4≈/
- # old PPCC compiler requires Apple Extensions option to be on
- {PPCC} {Sources}Wide.c -o {Targ} {PPCCOptions} -appleext on
- Else
- {PPCC} {Sources}Wide.c -o {Targ} {PPCCOptions}
- End
-
-
- "{ObjDir•68K}Wide.a.o" ƒ {•MondoBuild•} {Sources}Wide.a
- {Asm} {Sources}Wide.a -o {Targ} {AOptions}
-
- "{ObjDir•68K}Wide.c.o" ƒ {•MondoBuild•} {Sources}Wide.c ∂
- {Includes}Wide.h
- {C} {Sources}Wide.c -o {Targ} {COptions}
-
-